Some documentation fixes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 26 Jul 2013 18:10:37 +0000 (14:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 26 Jul 2013 18:10:37 +0000 (14:10 -0400)
Some incomplete renamings in the doc comments for the
template child macros.

gtk/gtkwidget.h

index 9e0fc79d2587ed38972d4254a00088abc98e9916..c5d4f929692112b059770ab1f686bef92ddd4acc 100644 (file)
@@ -1179,8 +1179,9 @@ void gtk_widget_remove_tick_callback (GtkWidget       *widget,
 /**
  * gtk_widget_class_bind_template_child:
  * @widget_class: a #GtkWidgetClass
- * @data_type: the type name of this widget
- * @member_name: name of the instance private member on @private_data_type
+ * @TypeName: the type name of this widget
+ * @member_name: name of the instance private member on the
+ *    private struct for @data_type
  *
  * Binds a child widget defined in a template to the @widget_class.
  *
@@ -1188,7 +1189,8 @@ void gtk_widget_remove_tick_callback (GtkWidget       *widget,
  * gtk_widget_class_bind_template_child_full() function.
  *
  * This macro will use the offset of the @member_name inside the @TypeName
- * private data structure.
+ * private data structure (it uses G_PRIVATE_OFFSET(), so the private struct
+ * must be added with G_ADD_PRIVATE()).
  *
  * Since: 3.10
  */